<?php
/*
Plugin Name: Site Plugin for ured5.hr
Description: Site specific code changes for ured5.hr
*/
/* Start Adding Functions Below this Line */


function my_custom_below_top_navbar() {
	if ( is_front_page() ) :
		echo '<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
			  <!-- Indicators -->
			  <ol class="carousel-indicators">
				<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
				<li data-target="#carousel-example-generic" data-slide-to="1"></li>
				<li data-target="#carousel-example-generic" data-slide-to="2"></li>
			  </ol>

			  <!-- Wrapper for slides -->
			  <div class="carousel-inner">
				<div class="item active">
				  <img src="wp-includes/images/ured5/index.png" alt="900x500">
				  <div class="carousel-caption">
					<h3>lalala</h3>
					<p>lalal malo texta</p>
				  </div>
				</div>
				<div class="item">
				  <img src="wp-includes/images/ured5/index.png" alt="900x500">
				  <div class="carousel-caption">
					<h3>lalalbbba</h3>
					<p>lalal malo texta</p>
				  </div>
				</div>
				<div class="item">
				  <img src="wp-includes/images/ured5/index.png" alt="900x500">
				  <div class="carousel-caption">
					<h3>lalalddda</h3>
					<p>lalal malo texta</p>
				  </div>
				</div>

				...
			  </div>

			  <!-- Controls -->
			  <a class="left carousel-control" href="#carousel-example-generic" data-slide="prev">
				<span class="glyphicon glyphicon-chevron-left"></span>
			  </a>
			  <a class="right carousel-control" href="#carousel-example-generic" data-slide="next">
				<span class="glyphicon glyphicon-chevron-right"></span>
			  </a>
			</div>';
	endif;
}
add_action( 'shoestrap_below_top_navbar', 'my_custom_below_top_navbar' );

function my_custom_page_header() { 
	if ( !is_front_page() ) :
		echo '
			<div class="page-header">
				<h1>
				';
		echo roots_title();
		echo ' </h1>
			</div>';
	endif;
}
add_action( 'shoestrap_page_header_override', 'my_custom_page_header' );

/* Stop Adding Functions Below this Line */
?>

